* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}
html,
body {
  width: 100%;
  height: 100%;
  background: url(/assets/images/login_bg.jpg) no-repeat center;
  background-size: cover;
}
.layui-main {
  margin-top: 20px;
}
.loginAndRegBox {
  padding: 0 30px;
  width: 400px;
  height: 310px;
  background-color: #fff;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}
.loginAndRegBox .title {
  height: 60px;
  background: url(/assets/images/login_title.png) no-repeat center;
}
.loginAndRegBox .btn {
  margin-top: 15px;
  font-size: 12px;
}
.loginAndRegBox .layui-input {
  padding-left: 30px;
}
.loginAndRegBox .layui-form-item {
  position: relative;
}
.loginAndRegBox i {
  position: absolute;
  top: 10px;
  left: 10px;
}
